package uz.edo.app.client;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.wicket.Application;
import org.apache.wicket.protocol.http.HttpSessionStore;
public class MyHttpSessionStore extends HttpSessionStore
{
    private static Log _log = LogFactory.getLog(MyHttpSessionStore.class);
    private Application application;

    public MyHttpSessionStore(Application application) {
        super(application);
        this.setApplication(application);
        _log.info("Session created");
    }

    protected void onBind(String sessionId)
    {

    }
    protected void onUnbind(String sessionId) {
        _log.info("Session closed");
    }
	public void setApplication(Application application){
		this.application = application;
	}

	public Application getApplication(){
		return application;
	}
}
